package com.cdh.oa.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.cdh.oa.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cdh.oa.entity.vo.UserRoleDeptJobVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author CDHong
 * @since 2018-11-22
 */
public interface UserMapper extends BaseMapper<User> {

    List<UserRoleDeptJobVo> userPage(IPage<UserRoleDeptJobVo> page,@Param("search") String search);

}
